package com.hh.service.dao.merchant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hh.common.model.merchant.CategoryInit;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CategoryInitDao extends BaseMapper<CategoryInit> {
    @Select("select * from eb_category_init where pid = #{id}")
    List<CategoryInit> getItemsByPid(@Param("id") Integer id);
}
